import useNum from './hooks/numHook'

function Comp1() {
  
  let [num] = useNum()
  return (
  <h2>Comp1 -- {num}</h2>
  )
}

function App() {
  return (
    <div className="App">
        <Comp1></Comp1>
    </div>
  );
}

export default App;
